using System.Text;
using System;
using System.Collections.Generic;
using AmazeUI;
using AmazeUI.Imodel;
namespace AmazeUI.db
{
    public partial class OpenUser
    {
        public OpenUser() { }
        public OpenUser(IOpenUser model)
            : this()
        {
            SetModel(model);
        }
        public void SetModel(IOpenUser model)
        {
            this.nickname = model.nickname;
            this.sex = model.sex;
            this.province = model.province;
            this.city = model.city;
            this.country = model.country;
            this.headimgurl = model.headimgurl;
            this.XtUserId = model.XtUserId;
            this.openid = model.openid;
            this.UpTime = DateTime.Now;
        }

    }
}
